package com.hzw.code.common.constant;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体父类
 */
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode
public class BaseEntity implements Serializable {
    /**
     * 删除标识：1已删除；0未删除
     */
    @ApiModelProperty(name = "isDeleted", value = "删除标识：1已删除；0未删除")
    private Integer isDeleted;

    /**
     * 创建人
     */
    @ApiModelProperty(name = "createUserId", value = "创建人")
    private String createUserId;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Date createTime;

    /**
     * 修改人
     */
    @ApiModelProperty(name = "modifyUserId", value = "修改人")
    private String modifyUserId;

    /**
     * 修改时间
     */
    @ApiModelProperty(name = "modifyTime", value = "修改时间")
    private Date modifyTime;

    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
}
